<template>
  <div class="post-wrap">
    <div class="header">
      <div class="title">热门帖子</div>
      <div class="tool">
        <div class="btn">Follow</div>
      </div>
    </div>
    <div class="content">
      <div class="post-item">
        <div class="post-title">标题</div>
        <div class="post-content">内容</div>
      </div>
      <div class="post-desc">
        <div class="left">
          <img class="type-img" src="@/assets/images/my.png" alt="" />
          05c32b12...
        </div>
        <div class="right">2024-10-08 13:43:00</div>
      </div>
    </div>
    <div class="footer">
      <div class="tool-item">
        <div class="item-icon">
          <img class="_img" src="" alt="" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.post-wrap {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  border-radius: 10px;

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #fff;

    .title {
      font-size: 18px;
      font-weight: bold;
      color: #fff;
    }

    .tool {
      display: flex;
      align-items: center;

      .btn {
        width: 100px;
        height: 30px;
      }
    }
  }

  .content {
    padding: 20px;

    .post-item {
      .post-title {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
      }

      .post-content {
        margin-top: 10px;
        font-size: 14px;
        color: #fff;
      }
    }

    .post-desc {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 10px;

      .left {
        display: flex;
        align-items: center;
        color: #898a8c;

        .type-img {
          width: 20px;
          height: 20px;
          margin-right: 5px;
        }
      }

      .right {
        color: #898a8c;
      }
    }
  }

  .footer {
    height: 20px;
  }
}
</style>